/* 全局样式 */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* 头部样式 */
header {
  background-color: #007BFF;
  color: white;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
}

header h1 {
  margin: 0;
}

/* 主页容器样式 */
.home-container {
  text-align: center;
  margin-top: 50px;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.home-actions {
  margin-top: 20px;
}

/* 按钮通用样式 */
.btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 8px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background-color: #007BFF;
  color: white;
}

.btn-accent {
  background-color: #6c757d;
  color: white;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

/* 列表页样式 */
.index-container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 600px;
  margin-top: 20px;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 15px 0;
}

li a {
  color: #007BFF;
  text-decoration: none;
  font-size: 1.1em;
}

li a:hover {
  text-decoration: underline;
}

/* 详情页样式 */
.detail-container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 600px;
  margin-top: 20px;
}

.detail-container h1 {
  margin-bottom: 20px;
}

form {
  text-align: left;
}

form input[type="radio"] {
  margin-right: 10px;
}

form label {
  margin-right: 20px;
  font-size: 1.1em;
}

form input[type="submit"] {
  padding: 12px 25px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

form input[type="submit"]:hover {
  background-color: #218838;
}

.detail-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

/* 结果页样式 */
.results-container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 80%;
  max-width: 600px;
  margin-top: 20px;
}

.results-container h1 {
  margin-bottom: 20px;
}

.results-container ul {
  margin-bottom: 20px;
}

.results-container li {
  font-size: 1.1em;
}

.results-container a {
  color: #007BFF;
  text-decoration: none;
}

.results-container a:hover {
  text-decoration: underline;
}